<template>
  <div class="body-body">
    <myindex v-if="index==0"></myindex>
    <mymusic v-if="index==1"></mymusic>
  </div>
</template>

<script>
import myindex from "../table/my-index"
import mymusic from "../table/my-music";
export default {
  components:{
    myindex,mymusic
  },
  props:{
    index: Number
  },
  name: "page-body"
}
</script>

<style scoped>
  .body-body{
    height: 100%;
    width: 100%;
    box-sizing: border-box;
  }
</style>